package com.example.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;

/**
 * 宠物用品实体炎对应goods表
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("goods")
public class Goods {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("shop_id")
    private Integer shopId;

    @TableField("type_id")
    private Integer typeId;

    @TableField("name")
    private String name;

    @TableField("descr")
    private String descr;

    @TableField("image")
    private String image;

    @TableField("price")
    private BigDecimal price;

    @TableField("sale")
    private Integer sale;

    @TableField("status")
    private String status;

    @TableField("store")
    private Integer store;
}